package com.yuchen.ishop.buyer;

import com.yuchen.ishop.entity.Buyer;
import com.yuchen.jaxrs.Responses;

import java.util.Map;

/**
 * 普通用户  买家
 */
public interface BuyerService {

    //注册
	Buyer getById(Long id);

    Buyer insert(Buyer buyer);

    Responses update(Buyer buyer);

    Responses goodsTrace(Long buyerId,Long goodsId);

    Responses updatePwd(Map map);

}
